/*
 * RunWorkout helper class.
 */

package org.thotheolh.sweatkeeper.helper;

import java.sql.Time;

/**
 *
 * @author thotheolh
 */
public class RunWorkout {
	
	private int workoutId;
	private double distance;
	private Time time;
	
	public RunWorkout(){}
	
	public RunWorkout(int workoutId, double distance, Time time){
		setWorkoutId(workoutId);
		setDistance(distance);
		setTime(time);
	}

	/**
	 * @return the distance
	 */
	public double getDistance() {
		return distance;
	}

	/**
	 * @param distance the distance to set
	 */
	public void setDistance(double distance) {
		this.distance = distance;
	}

	/**
	 * @return the workoutId
	 */
	public int getWorkoutId() {
		return workoutId;
	}

	/**
	 * @param workoutId the workoutId to set
	 */
	public void setWorkoutId(int workoutId) {
		this.workoutId = workoutId;
	}

	/**
	 * @return the time
	 */
	public Time getTime() {
		return time;
	}

	/**
	 * @param time the time to set
	 */
	public void setTime(Time time) {
		this.time = time;
	}
	
	
	
}
